package com.smart.service;

import com.smart.pojo.Department;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lyj
 * @since 2023-04-19
 */
public interface IDepartmentService extends IService<Department> {

    boolean addDept(Department department);

    boolean updateDept(Department department);

    Department queryByUserId(Long userId);

}
